package com.hydl.power.service;

import com.github.pagehelper.PageInfo;
import com.hydl.power.pojo.Gateway;
import com.hydl.power.pojo.Inspectionplan;

import java.util.List;

public interface GatewayService {
    /*查询所有网关*/
    List<Gateway> queryGatewayAll();
    /*删除指定网关*/
    int deleteGatewayById(Integer id);
    /*添加网关*/
    int addGateway(String gatewaySn, String gatewayPwd, String roomId, String projectId,String gatewayRemark,Integer brand);
    /*按照条件查询网关*/
    PageInfo<Gateway> queryByCityId(Integer pageNum, Integer pageSize,String cityId, String projectId, String roomId);
    PageInfo<Gateway> queryByTokenId(Integer pageNum, Integer pageSize,String cityId, String projectId, String roomId,String token);
    /*根据配电房id查询网关*/
    List<Gateway> queryGatewayByPowerId(String roomId);

    List<String> selectGatewaySn();

    /*模糊查询*/
    PageInfo<Gateway> queryGatewayLike(Integer pageNum,Integer pageSize,String text,String token);
}
